﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WinRTFramework.Common;
using WinRTFramework.DefaultImplementations;

namespace ShareSource.ViewModels
{
    class MainPageViewModel : DefaultPageViewModel
    {
        private DelegateCommand _navigateShareTextCommand;
        public DelegateCommand NavigateShareTextCommand
        {
            get { return _navigateShareTextCommand = _navigateShareTextCommand ?? new DelegateCommand(() => NavigationService.Navigate<ShareTextViewModel>()); }
        }

        private DelegateCommand _navigateShareLinkCommand;
        public DelegateCommand NavigateShareLinkCommand
        {
            get { return _navigateShareLinkCommand = _navigateShareLinkCommand ?? new DelegateCommand(() => NavigationService.Navigate<ShareLinkViewModel>()); }
        }
    }
}
